import baseRequest from "./request";

export function getLogininforList(params?: any) {
  return baseRequest({
    url: '/system/logininfor/list',
    method: 'get',
    params
  });
}

export function getLogininforDetail(id: number) {
  return baseRequest({
    url: `/system/logininfor/${id}`,
    method: 'get'
  });
}

export function deleteLogininfor(id: number) {
  return baseRequest({
    url: `/system/logininfor/${id}`,
    method: 'delete'
  });
}

export function cleanLogininfor() {
  return baseRequest({
    url: '/system/logininfor/clean',
    method: 'delete'
  });
} 